package com.robam.cloud.component.componentfeign.basefeign;

import com.robam.cloud.common.bean.restful.entity.RespMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "auth-center")
public interface FeignAuthCenterBaseUtil {

    @RequestMapping(
            value = "/feign/authCenter/downloadFile",
            method = RequestMethod.GET)
    RespMsg<String> downloadFile(@RequestParam(value = "serverId") String serverId);
}
